package com.hr.user.domain;

import java.io.Serializable;
import java.util.UUID;

import org.junit.Test;

import com.hr.dept.domain.Dept;

/**
 * 员工BEAN
 * @author 杨谦
 * @date 2015-9-20
 *
 */
public class User implements Serializable{
	private String user_id;
	private String username;
	private String password;
	private String sex;
	private String age;
	private String state;
	private String photo;
	private String userfile;
	private Dept dept;
	private String dept_id;
	private String filename;
	private String emp_file_id;//档案编号
	private String verified_person;//身份证号码
	private String education_record;//学历信息
	private String degree;//学位信息
	private String education_state;
	
	public User() {
		super();
	}
	
	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	
	public String getAge() {
		return age;
	}
	public void setAge(String age) {
		this.age = age;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}
	
	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}
	
	public String getUserfile() {
		return userfile;
	}

	public void setUserfile(String userfile) {
		this.userfile = userfile;
	}
	
	public String getDept_id() {
		return dept_id;
	}

	public void setDept_id(String dept_id) {
		this.dept_id = dept_id;
	}

	public Dept getDept() {
		return dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}

	public String getFilename() {
		return filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}
	
	public String getEmp_file_id() {
		return emp_file_id;
	}

	public void setEmp_file_id(String emp_file_id) {
		this.emp_file_id = emp_file_id;
	}

	public String getVerified_person() {
		return verified_person;
	}

	public void setVerified_person(String verified_person) {
		this.verified_person = verified_person;
	}

	public String getEducation_record() {
		return education_record;
	}

	public void setEducation_record(String education_record) {
		this.education_record = education_record;
	}

	public String getDegree() {
		return degree;
	}

	public void setDegree(String degree) {
		this.degree = degree;
	}
	
	public String getEducation_state() {
		return education_state;
	}

	public void setEducation_state(String education_state) {
		this.education_state = education_state;
	}

	@Override
	public String toString() {
		return "User [user_id=" + user_id + ", username=" + username
				+ ", password=" + password + ", sex=" + sex + ", age=" + age
				+ ", state=" + state + ", photo=" + photo + ", userfile="
				+ userfile + ", dept_id=" + dept_id + ", filename=" + filename
				+ ", dept=" + dept + "]";
	}

	@Test
	public void test(){
		System.out.println(UUID.randomUUID().toString());
	}
	
}
